﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Data;

namespace TestLink2Net.Dal
{
    public class DataAccess
    {
        public static Database DefaultDatabase
        {
            get
            {
                Database database;
                try
                {
                    database = DatabaseFactory.CreateDatabase();
                }
                catch (Exception)
                {
                    database = DatabaseFactory.CreateDatabase();
                }

                return database;
            }
        }

    }
}
